New Functions in Week 10

stat_ecdf

{GGPLOT2}

Compute empirical cumulative distribution

scale_y_continuous

{GGPLOT2}

Customise continuous y axis

ecdf

{stats}

Compute an empirical cumulative distribution function

sample_n

{dplyr}

Sample a number of observations from a data frame

set.seed

{base}

Initialise a pseudorandom number generator.

ylab

{GGPLOT2}

Label the y axis (ggplot)

geom_segment

{GGPLOT2}

Generates a line segment or curve

element_text

{GGPLOT2}

Customise text in GGPLOT2

sqrt

{stats}

Square root

geom_bar

{GGPLOT2}

Generates a bar chart

theme

{GGPLOT2}

Set theme for GGPLOT2

The end!